package com.xinxing.learning.crypto.annotation;

import com.xinxing.learning.crypto.keyresolver.InterfaceKeyresolver;
import com.xinxing.learning.crypto.keyresolver.impl.AESInterfaceKeyresolver;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DecryptionAnnotation {
    Class<? extends InterfaceKeyresolver> keyResolver() default AESInterfaceKeyresolver.class;
}